package com.ruoyi.edubuy.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 订单查询对象 show_buy_order
 *
 * @author lsj
 * @date 2021-07-13
 */
public class ShowBuyOrder extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 订单编号
     */
    @Excel(name = "订单编号")
    private Integer orderId;

    /**
     * 订单发起人
     */
    @Excel(name = "订单发起人")
    private String orderName;

    /**
     * 订单价格
     */
    @Excel(name = "订单价格")
    private BigDecimal orderPrice;

    /**
     * 订单商品
     */
    @Excel(name = "订单商品")
    private String orderCommodity;

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getOrderName() {
        return orderName;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    public BigDecimal getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(BigDecimal orderPrice) {
        this.orderPrice = orderPrice;
    }

    public String getOrderCommodity() {
        return orderCommodity;
    }

    public void setOrderCommodity(String orderCommodity) {
        this.orderCommodity = orderCommodity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("orderId", getOrderId())
                .append("orderName", getOrderName())
                .append("orderPrice", getOrderPrice())
                .append("orderCommodity", getOrderCommodity())
                .toString();
    }
}
